package com.jiuyun.entity;

public class Question1 {
    int   question_id; // 题目id
    String  question_name; // 题目内容
    int  question_score; // 题目分数
    int  question_creator; // 创建用户id
    int  question_type; // 单选，付选
    String question_optiona; // 题目选项A
    String question_optionb; // 题目选项B
    String question_optionc; // 题目选项C
    String question_optiond; // 题目选项D
    String question_answer; // 题目答案
    String update_time; // 更新时间
    String question_fraction; //分数

    public Question1() {
    }

    public String getQuestion_fraction() {
        return question_fraction;
    }

    public void setQuestion_fraction(String question_fraction) {
        this.question_fraction = question_fraction;
    }

    public int getQuestion_id() {
        return question_id;
    }

    public void setQuestion_id(int question_id) {
        this.question_id = question_id;
    }

    public String getQuestion_name() {
        return question_name;
    }

    public void setQuestion_name(String question_name) {
        this.question_name = question_name;
    }

    public int getQuestion_score() {
        return question_score;
    }

    public void setQuestion_score(int question_score) {
        this.question_score = question_score;
    }

    public int getQuestion_creator() {
        return question_creator;
    }

    public void setQuestion_creator(int question_creator) {
        this.question_creator = question_creator;
    }

    public int getQuestion_type() {
        return question_type;
    }

    public void setQuestion_type(int question_type) {
        this.question_type = question_type;
    }

    public String getQuestion_optiona() {
        return question_optiona;
    }

    public void setQuestion_optiona(String question_optiona) {
        this.question_optiona = question_optiona;
    }

    public String getQuestion_optionb() {
        return question_optionb;
    }

    public void setQuestion_optionb(String question_optionb) {
        this.question_optionb = question_optionb;
    }

    public String getQuestion_optionc() {
        return question_optionc;
    }

    public void setQuestion_optionc(String question_optionc) {
        this.question_optionc = question_optionc;
    }

    public String getQuestion_optiond() {
        return question_optiond;
    }

    public void setQuestion_optiond(String question_optiond) {
        this.question_optiond = question_optiond;
    }

    public String getQuestion_answer() {
        return question_answer;
    }

    public void setQuestion_answer(String question_answer) {
        this.question_answer = question_answer;
    }

    public String getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(String update_time) {
        this.update_time = update_time;
    }

    public Question1(int question_id, String question_name, int question_score, int question_creator, int question_type,
                    String question_optiona, String question_optionb, String question_optionc, String question_optiond,
                    String question_answer, String update_time, String question_fraction) {
        this.question_id = question_id;
        this.question_name = question_name;
        this.question_score = question_score;
        this.question_creator = question_creator;
        this.question_type = question_type;
        this.question_optiona = question_optiona;
        this.question_optionb = question_optionb;
        this.question_optionc = question_optionc;
        this.question_optiond = question_optiond;
        this.question_answer = question_answer;
        this.update_time = update_time;
        this.question_fraction = question_fraction;
    }

    @Override
    public String toString() {
        return "Question1{" +
                "question_id=" + question_id +
                ", question_name='" + question_name + '\'' +
                ", question_score=" + question_score +
                ", question_creator=" + question_creator +
                ", question_type=" + question_type +
                ", question_optiona='" + question_optiona + '\'' +
                ", question_optionb='" + question_optionb + '\'' +
                ", question_optionc='" + question_optionc + '\'' +
                ", question_optiond='" + question_optiond + '\'' +
                ", question_answer='" + question_answer + '\'' +
                ", update_time='" + update_time + '\'' +
                ", question_fraction='" + question_fraction + '\'' +
                '}';
    }
}
